package cn.wawi.entity.sys;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* sys_department 实体类
* 2016-06-13 16:57:18 cn.wawi.entity.sys
*/ 
public class Department implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Long id;
	private String name;
	private String address;
	private String leader;
	private String phone;
	private String state="closed";
	@JsonProperty("_parentId")
	private Long parentId;
	private String remark;
	private String iconCls="icon-berlin-9";
	public void setId(Long id){
		this.id=id;
	}
	public Long getId(){
		return id;
	}
	public void setName(String name){
		this.name=name==null?null:name.trim();
	}
	public String getName(){
		return name;
	}
	public void setAddress(String address){
		this.address=address==null?null:address.trim();
	}
	public String getAddress(){
		return address;
	}
	public void setLeader(String leader){
		this.leader=leader==null?null:leader.trim();
	}
	public String getLeader(){
		return leader;
	}
	public void setPhone(String phone){
		this.phone=phone==null?null:phone.trim();
	}
	public String getPhone(){
		return phone;
	}
	public void setParentId(Long parentId){
		this.parentId=parentId;
	}
	public Long getParentId(){
		return parentId;
	}
	public void setRemark(String remark){
		this.remark=remark==null?null:remark.trim();
	}
	public String getRemark(){
		return remark;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state=state==null?null:state.trim();
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
}

